package field;

import player.Player;

public class Shipping extends Ownable {
	
	private int[] shipRent;

	public Shipping(String title, String subtitle, String desc, int[] pricearray, int fieldnmb, int[] shipArray, int[] rentarray) {
		super(title, subtitle, desc, pricearray[0], fieldnmb, pricearray[2],rentarray[0]);
		shipRent = shipArray;
		
	}
	
	public int getShipRent(int shipsOwned){
		return shipRent[shipsOwned-1];
	}
}
